{eq name="data.status" value="0"}
<p style="text-align: center; margin-top: 5rem;">系统繁忙</p>
{else /}
<div class="weui-cell storeDetail-top">
    <div class="weui-cell__hd">
        <img src="{$data.logo}" alt="">
    </div>
    <div class="weui-cell__bd">
        <p>{$data.name}</p>
        <div class="storeDetail-xx">
            <p class="xx">
                <!--满星星加class为 active-->
                <span {gt name="data.level" value="0"} class="active" {/gt}></span>
                <span {gt name="data.level" value="1"} class="active" {/gt}></span>
                <span {gt name="data.level" value="2"} class="active" {/gt}></span>
                <span {gt name="data.level" value="3"} class="active" {/gt}></span>
                <span {gt name="data.level" value="4"} class="active" {/gt}></span>
            </p>
            <span class="fs06 cl-ff9 exclusive-count">{$data.level}分</span>
        </div>
    </div>
    <div class="weui-cell__ft">
        <span class="fs065 cl-3333">累积销售{$data.order_num}单</span>
    </div>
</div>
<div class="weui-cell">
    <div class="weui-cell__hd mr05">
        <span class="fs065">地址: </span>
    </div>
    <div class="weui-cell__bd">
        <span class="fs065" style="margin-left: 0">{$data.address}</span>
    </div>
</div>
<div class="my-flex2">
    <a href="{:url('rong/create_chat', ['id' => $data['id'], 'type' => 'friend', 'targetId' => $data['member_id'], 'role' => 'shop'])}" class="flex-list">
        <img src="__STATIC__/home/images/sd2.png" alt="">
        <span class="fs06">
                联系商家
            </span>
    </a>
    <a href="javascript:;" class="flex-list">
        <img src="__STATIC__/home/images/sd3.png" alt="">
        <span class="fs06">
                致电商家
            </span>
    </a>
</div>
<div class="weui-cells">
    <div class="weui-cell">
        <div class="weui-cell__bd">
            <span class="fs065">经营项目</span>
        </div>
    </div>
    <div class="my-flex" style="justify-content: flex-start;border-top: 1px solid #f3f3f3;: ">
        {volist name="data.category" id="vo"}
            <a href="javascript:;" class="flex-list25 shop-goods" data-category-id="{$vo.id}" data-shop-id="{$data.id}" style="border-top: none">
                <span class="fs07">
                    {$vo.name}
                </span>
            </a>
        {/volist}
    </div>
</div>
<div class="weui-cells">
    <div class="weui-cell weui-cell_access">
        <div class="weui-cell__bd">
            <span>评论</span>
        </div>
        <div class="weui-cell__ft shop-comment" data-shop-id="{$data.id}">
            <span>{$data.comment_num}条评论</span>
        </div>
    </div>
    {empty name="data.comment"}
    <p class="fs07" style="margin: 1rem auto; text-align: center;">暂无评论</p>
    {else /}
    {volist name="data.comment" id="vo"}
    <div class="weui-cell discussList-list">
        <div class="weui-cell__hd exclusiveImg">
            <img src="{$vo.headimgurl}" alt="">
        </div>
        <div class="weui-cell__bd">
            <p class="fs08">{$vo.nickname}</p>
            <div class="weui-cell__bd level discuss-face" style="padding-left: 0; margin: 5px 0;">
                <a href="javascript:;" {eq name="vo.level" value="1"}class="active"{/eq}>
                <i class="icon iconfont icon-weibiaoti1"></i>
                <span>好评</span>
                </a>
                <a href="javascript:;" {eq name="vo.level" value="2"}class="active"{/eq}>
                <i class="icon iconfont icon-weibiaoti11"></i>
                <span>中评</span>
                </a>
                <a href="javascript:;" {eq name="vo.level" value="3"}class="active"{/eq}>
                <i class="icon iconfont icon-weibiaoti12"></i>
                <span>差评</span>
                </a>
            </div>
            <p class="fs06">{$vo.msg}</p>
            <div class="discussList-list-img viewImage">
                {volist name="vo.images" id="v"}
                    <img class="viewPhone" data-img="{$i}" src="{$v}" alt="{$v}">
                {/volist}
            </div>
            <div class="fs06 cl-9999"> <span style="margin-left: 0;">{$vo.product_name}</span></div>
        </div>
        <div class="weui-cell__ft">
            <span class="cl-9999 fs06">
                {$vo.create_time|date="Y-m-d H:i", ###}
            </span>
        </div>
    </div>
    {/volist}
    {/empty}
    <div class="weui-cell">
        <div class="weui-cell__bd">
            <span>开店时间</span>
        </div>
        <div class="weui-cell__ft">
            <span class="fs06">{$data.audit_time|date="Y-m-d",###}</span>
        </div>
    </div>
    <div class="weui-cell ftAbsolute">
        <div class="weui-cell__bd viewImage">
            <span>营业执照</span>
            <div class="jingying">
                <div>
                    <img class="viewPhone" data-img="0" src="{$data.business_license_image}" alt="{$data.business_license_image}">
                    <p class="fs06 text-center">营业执照照片</p>
                </div>
                <div>
                    <img class="viewPhone" data-img="1" src="{$data.business_certificate}" alt="{$data.business_certificate}">
                    <p class="fs06 text-center">经营许可证</p>
                </div>
            </div>
        </div>
    </div>
</div>
{/eq}